﻿using MediatR;
using System.ComponentModel.DataAnnotations;

namespace SystemLYH.API.Application.Command.ReservoirCommand
{
    public class ReservoirCreateCommand:IRequest<int>
    {
        /// <summary>
        /// 库区名称
        /// </summary>
        public string? ReservoirName { get; set; }
        /// <summary>
        /// 库区编号
        /// </summary>
        public string? ReservoirNumber { get; set; }
        /// <summary>
        /// 库区面积
        /// </summary>
        public string? ReservoirArea { get; set; }
        /// <summary>
        /// 仓库Id外键
        /// </summary>
        public string? WarehouseID { get; set; }
        /// <summary>
        /// 库区备注
        /// </summary>
        public string? ReservoirRemark { get; set; }

        ///// <summary>
        ///// 添加人
        ///// </summary>
        //public string? AddName { get; set; } = "lyh";
        ///// <summary>
        ///// 添加时间
        ///// </summary>
        //public DateTime AddTime { get; set; }= DateTime.Now;
    }
}
